﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="Contents/themes/default/style.css" />
    <link href="Contents/themes/css/core.css" rel="stylesheet" type="text/css" />
    <link href="Contents/themes/example.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="Scripts/Darren.Core.js" type="text/javascript"></script>
    <script src="Scripts/Darren.Grid.js" type="text/javascript"></script> 
    <script src="Scripts/jquery.flexigrid.js" type="text/javascript"></script>
    <script src="Scripts/jquery.pagination.js" type="text/javascript"></script>
    <script type="text/javascript">
  
    $(document).ready(function() {
        
        var option = {
        height:255,
        width:610,
        url: '/ajaxHandler/Department/List.aspx?oper=List',
        colModel: [
                    
			        { display: '项目名称', name: 'Name', width: 200, sortable: true, align: 'left' },
			        { display: '所属部门', name: 'ID', width: 100, sortable: false, align: 'left' },			     
			        { display: '状态', name: 'IsDelete', width: 30, sortable: true, align: 'left'},
			        { display: '创建时间', name: 'CreateTime', width: 150, sortable: true, align: 'left' }
				],
            sortname: "Name",
            sortorder: "asc",
            title: "项目列表",
            usepager: true,
            useRp: false,
            rowbinddata: true,
            showcheckbox: true,
            selectedonclick: true,
            singleselected: false
           
        };
        $("#divProjectList").flexigrid(option);
       
         
    });
      </script>
</head>
<body>
  <div><table id="divProjectList" style="display:none"></table></div>
</body>
</html>
